﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DataFactory
/// </summary>
public class DataFactory
{
	public DataFactory()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public static DatabaseDataContext GetDataContext()
    {
        String connectionString = WebConfiguration.GetConnectionString();
        return new DatabaseDataContext(connectionString);
    }
}